package com.proj.bean;

public class Collection {
    private int userid;
    private int goodsid;
    private String collecttime;

    @Override
    public String toString() {
        return "Collection{" +
                "userid=" + userid +
                ", goodsid=" + goodsid +
                ", collecttime='" + collecttime + '\'' +
                '}';
    }

    public Collection(int userid, int goodsid, String collecttime) {
        this.userid = userid;
        this.goodsid = goodsid;
        this.collecttime = collecttime;
    }
    public Collection() {
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(int goodsid) {
        this.goodsid = goodsid;
    }

    public String getCollecttime() {
        return collecttime;
    }

    public void setCollecttime(String collecttime) {
        this.collecttime = collecttime;
    }
}
